// testarrByte.cpp : Defines the entry point for the console application.
//

#include "stdafx.h"
//#import "N:\\dotNet\\NCS_ONH.NET_cs\\testArrByte\\testArrByte\\bin\\Debug\\arrByte.dll"
__declspec(dllimport) long __stdcall arrTobstr(unsigned char * b,float * varr,long n);
int main(int argc, char* argv[])
{
	int n=100;
	unsigned char *b=new unsigned char[n];
	float *arr=new float[n];
	for(int i=0;i<n;i++)
	{
		*(arr+i)=i;
	}
	arrTobstr(b,arr,n);
	delete b;
	delete arr;
	return 0;
}
